package comics;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author zhang
 * @Date 2021/6/8 下午5:18
 * @Description
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ComicsIndex implements Serializable {

    private Long comicsId;
    private Long comicsLike;
    private Long comicsCollect;
    private Long comicsVisitor;
    private Long comicsSearch;

    public ComicsIndex(String comicsId, String comicsLike, String comicsCollect, String comicsVisitor, String comicsSearch) {
        this.comicsId = Long.parseLong(comicsId);
        this.comicsLike = Long.parseLong(comicsLike);
        this.comicsCollect = Long.parseLong(comicsCollect);
        this.comicsVisitor = Long.parseLong(comicsVisitor);
        this.comicsSearch = Long.parseLong(comicsSearch);
    }
}
